//
//  UILabel+Extension.swift
//  Weibo
//
//  Created by 王惠平 on 2017/3/31.
//  Copyright © 2017年 Will Wang. All rights reserved.
//

import UIKit


extension UILabel {
    
    //提供便利构造函数
    convenience init(fonSize: CGFloat, textColor: UIColor, text: String) {
        
        self.init()
        
        //设置文字大小
        self.font = UIFont.systemFont(ofSize: fonSize)
        
        self.textColor = textColor
        
        self.text = text
        
    }
    
    
}
